package com.fancymusic.mongoEntity;


import com.fancymusic.entity.Album;
import com.fancymusic.entity.Language;
import com.fancymusic.entity.MusicType;
import com.fancymusic.entity.Singer;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;


@Data
@Document(collection = "music")
public class MongoMusic {
    @Id
    private String id;
    private String name;
    private Integer visitQuantity;
    private Integer downloadQuantity;
    private Date createTime;
    private Date updateTime;
}
